﻿@{
    ViewBag.Title = "";
    var id = Model != null ? Model.ID : 0;
}
@using ZBJF.Warranty.BLL
@using ZBJF.Warranty.WebProvider
@model ZBJF.Warranty.Model.InsuranceProductsInfoCollectCategory
<ul class="nav nav-tabs">
    <li><a href="/InfoCollectCategory/">审核项目分类列表</a></li>
    <li class="active"><a href="/InfoCollectCategory/Edit/@id">@(id > 0 ? "编辑审核项目分类" : "添加审核项目分类")</a></li>
</ul>
@using (Html.BeginForm("Save", "InfoCollectCategory", FormMethod.Post, new { id = "mvcForm", name = "mvcForm", @class = "form-horizontal", enctype = "multipart/form-data" }))
{
    @Html.AntiForgeryToken()
    @Html.HiddenFor(c => c.ID)
    <div class="control-group">
        <label class="control-label">信息收集项目分类名称:</label>
        <div class="controls">
            @Html.TextBoxFor(m => m.InfoCollectCategoryName, new { validate = "{required:true,messages:{required:'请输入信息收集项目分类名称'}}" })
        </div>
    </div>
    <div class="form-actions">
        <input  class="btn" type="button" value="重置">
        <input id="btnSubmit" class="btn btn-primary Edit-R" type="submit" onclick="layer.load()" value="保存">
    </div>
}

